package com.project.purchase.mapper;

import com.project.purchase.entity.Person;
import com.project.purchase.vo.PersonWithDept;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PersonMapper extends Mapper<Person> {
    List<PersonWithDept> GetAll();

    List<PersonWithDept> GetByName(String name);

    String GetIDByName(String name);

    String GetIDByLoginName(String name);
}